libxl.c: switch to LOG*D use (refactored messages)
authorCedric Bosdonnat <cbosdonnat@suse.com>
Fri, 2 Dec 2016 15:08:09 +0000 (16:08 +0100)
committerWei Liu <wei.liu2@citrix.com>
Sat, 3 Dec 2016 15:57:33 +0000 (15:57 +0000)
commita42771612fd1546fcedf0b30945fb5967210a2f1
treecf0792e6d5f51f1b94c456c8db49705d44d325f3
parent88330f3c4fdc47875e7142f7b89269fb30527ce3
libxl.c: switch to LOG*D use (refactored messages)

Use LOG*D functions to output the domain ID in logs as much as
possible. This will help consumer code sorting the logs by
domain.

This commit, only changes LOG*() into LOG*D() and adds a domid
parameter. The message of these LOG* calls has been altered to
remove the domain id from it since it is already contained in
the output log string.

Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c